package com.yiyi.dao;

import com.yiyi.entity.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * User: YIYI
 * Date: 2021-08-09
 * Time: 11:06
 * Description:
 */

@Mapper
public interface PermissionMapper {

    List<Permission> findAll();

    List<Permission> findByAdminUserId(int userId);
}